gl: Warn the user if they request a GL context version less than 3.2
authorNiels Nesse <nnesse@sonic.net>
Wed, 11 Feb 2015 04:35:01 +0000 (20:35 -0800)
committerAlexander Larsson <alexl@redhat.com>
Fri, 6 Mar 2015 13:02:55 +0000 (14:02 +0100)
commitb87715973f43ada48805bd0b22bd83eb4993d315
tree9ab9139255a9690bdd332217157d3f8bcd0129f9
parent064f4db0129b3fd845eb221b099e8638fd32e873
gl: Warn the user if they request a GL context version less than 3.2

If the user requests a version less than 3.2 the version is forced to 3.2.
Previous checking code have an inconsistent behavior depending on which
minor version number was specified. This is avoided now by temporarily
converting the major/minor pair into a single integer.

https://bugzilla.gnome.org/show_bug.cgi?id=744288
gdk/gdkglcontext.c